// tpl 是一个函数
import tpl from './index.tpl'

export default class ResultComponent {
  constructor () {
	this.name = 'ResultComponent'
  }

  tpl () {
	const oDiv = document.createElement('div')
	oDiv.innerHTML = tpl()
	return oDiv
  }
}